/********************************************************************
	File		: VisCommon.h
	Created		: 2011-4-6	8:12
	Author		: Wjl

	Desc		: This file is part of omiga 2d engine.
*********************************************************************/

#ifndef VisCommon_H__
#define VisCommon_H__

namespace Vis
{
	enum R2D_BLEND
	{
		BLEND_NONE = 0,
		BLEND_MODULATE,
		BLEND_ADDITIVE,
	};

	enum R2D_FLAG
	{
		FLAG_FLIP_X	=	0x01,
		FLAG_FLIP_Y =	0x02,
		FLAG_FLIP_XY=	0x03,
	};

	const static int R2D_QUADS_NUM			=  256;
	const static int R2D_MAX_TEXTURE_MEM	=  8192;

	enum SPRITE_STATUS
	{
		SPRITE_NEW = 0,
		SPRITE_LOADING,
		SPRITE_NORMAL,
		SPRITE_DIE,
	};
};


#endif // VisCommon_H__